package com.hqd.ch03.v32.web.servlet;


import javax.servlet.http.HttpServletRequest;

/**
 * 映射器接口
 */
public interface HandlerMapping {
    String PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE = HandlerMapping.class.getName() + ".pathWithinHandlerMapping";
    String BEST_MATCHING_HANDLER_ATTRIBUTE = HandlerMapping.class.getName() + ".bestMatchingHandler";

    HandlerExecutionChain getHandler(HttpServletRequest request) throws Exception;
}
